<div id="content">
	<div class="row s_page_title" *ngIf="pageType ==='new'">
		<sa-big-breadcrumbs [items]="['系统配置','调度管理','新增调度']" icon="fa fa-cog" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="row s_page_title" *ngIf="pageType ==='updata'">
		<sa-big-breadcrumbs [items]="['系统配置','调度管理','编辑调度']" icon="fa fa-cog" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="s_page_wrap">
		<div class="page-header s_page_title">
			<h1 class="page_detail_title">{{page_title}}调度</h1>
		</div>
		<div class="row" style="margin-top:5px;">
			<div class="col-xs-12">
				<form  name="userForm" id="schedulingForm" class="form-horizontal"  novalidate="novalidate" [saBootstrapValidator]="validatorOptions">
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right">任务名称<sup>*</sup></label>
						<div class="col-sm-10">
							<div class="clearfix">
								<input class="form-control" name="jobName" type="text" [(ngModel)]='page.jobName' placeholder="任务名称" />
							</div>
						</div>
					</div>
	
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right">类全路径名称<sup>*</sup></label>
						<div class="col-sm-10">
							<div class="clearfix">
								<input class="form-control" [(ngModel)]='page.beanClass' name="beanClass" type="text" placeholder="任务类全限定名称" />
							</div>
						</div>
					</div>
	
					<!-- 新需求 -->
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right">方法名称<sup>*</sup></label>
						<div class="col-sm-10">
							<div class="clearfix">
								<input class="form-control" name="methodName" type="text" [(ngModel)]='page.methodName' placeholder="方法名称" />
							</div>
						</div>
					</div>
	
					
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right" for="description">corn表达式<sup>*</sup></label>
						<div class="col-sm-10">
							<div class="clearfix">
								<input class="form-control" name="cronExpression" type="text" [(ngModel)]='page.cronExpression' placeholder="corn表达式（例如：0 54 23 * * ?）" />
							</div>
						</div>
					</div>
					
					
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right" for="description">任务描述</label>
						<div class="col-sm-10">
							<div class="clearfix">
								<input class="form-control" name="description" type="text" [(ngModel)]='page.description' placeholder="任务描述" />
							</div>
						</div>
					</div>
					
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right">是否启动</label>
						<div class="col-sm-10">
							<div class="clearfix">
								<select  class="form-control"  [(ngModel)]='page.jobStatus'  name="jobStatus">
									<option value="1" >启动</option>
									<option value="0" >停止</option>
								</select>
							</div>
						</div>
					</div>
					
					
					<div class="form-group">
						<label class="control-label col-sm-1 no-padding-right">有无状态</label>
						<div class="col-sm-10">
							<div class="clearfix">
								<select  class="form-control"  [(ngModel)]='page.isConcurrent' name="isConcurrent">
									<option value="0" >有</option>
									<option value="1" >无</option>
								</select>
							</div>
						</div>
					</div>
					
	
					<div class="center">
						<button type="button" (click)='submitParam()' class="btn btn-primary" *ngIf='page_title === "新增"' >添加</button>
						<button type="button" (click)='submitParam()' class="btn btn-primary" *ngIf='page_title === "编辑"' >保存</button>
						<button type="button" (click)='goBack()' class="btn default">返回</button>
					</div>
				</form>
				<div class="hr hr-dotted"></div>
			</div>
		</div>
	</div>
</div>